Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Networking and Communications > AppleShare >

User Authentication Modules


Completion Routine

This completion routine is called at interrupt time with the contextPtr passed in to the OpenSession and SendRequest calls, when one of these calls completes. The result parameter contains the AFP result. You cannot call any of the callback routines from this completion routine, so you can't do chained completion routines.

typedef pascal void (*CompletionPtr)(
                     UAMMessagePtr message,
                     void* contextPtr,
                     OSStatus result);
CompletionPtr
A pointer to the completion routine.
message
A pointer to a UAMMessage structure.
contextPtr
A value returned by the previous execution of the AFP client's OpenSession or SendRequest callback routine.
result
An AFP result code indicating the status of the completion routine. See the AppleTalk Filing Protocol document in the AppleShare IP 6.1 Developer's Kit for the list of result codes.

© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)